/*******************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.        */
/*                                                                 */
/*  NAME      = frssl_config.h                                     */
/*  NOTE      = ssl配置                                            */
/*  DATE      = 2016/01/26                                         */
/*******************************************************************/

#ifndef __FRSNIFFER_SSL_CONFIG_H_
#define __FRSNIFFER_SSL_CONFIG_H_

#define SSL_CONFIG_NOTFIND       0
#define SSL_CONFIG_FIND          1

#define SSL_TASK_CNT_DEFAULT     1


#define APM_CFG_FILENAME_SSL              "../conf/ssl.xml"         /* 解密配置文件 */
//ssl.xml
#define APM_CFG_SSL_XPATH_DSSL              "/dssl_serverinfo"
#define APM_CFG_SSL_KEY_RULE                "dssl_rule"
#define APM_CFG_SSL_TASK_CNT                "dssl_do_task_cnt"
#define APM_CFG_SSL_ZMQ_CLIENT              "dssl_zmq_client"

int frssl_config_load(void);
int frssl_config_lookup(sniffer_ipinfo *p_ipinfo);
int frssl_config_init(void);
void frssl_config_destroy(void);

extern int g_i_dssl_task_cnt;
extern char g_arr_dssl_zmq_client[256];

#endif
